from PySide import QtCore, QtGui


class Ui_newDataBaseDialog(object):
    def setupUi(self, newDataBaseDialog):
        newDataBaseDialog.setObjectName("newDataBaseDialog")
        newDataBaseDialog.resize(320, 240)
        newDataBaseDialog.setMinimumSize(QtCore.QSize(320, 240))
        newDataBaseDialog.setMaximumSize(QtCore.QSize(320, 240))
        self.buttonBox = QtGui.QDialogButtonBox(newDataBaseDialog)
        self.buttonBox.setGeometry(QtCore.QRect(10, 200, 301, 32))
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.lblInfo = QtGui.QLabel(newDataBaseDialog)
        self.lblInfo.setGeometry(QtCore.QRect(30, 100, 261, 41))
        self.lblInfo.setObjectName("lblInfo")
        self.widget = QtGui.QWidget(newDataBaseDialog)
        self.widget.setGeometry(QtCore.QRect(20, 20, 281, 66))
        self.widget.setObjectName("widget")
        self.verticalLayout = QtGui.QVBoxLayout(self.widget)
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.labelName = QtGui.QLabel(self.widget)
        self.labelName.setObjectName("labelName")
        self.horizontalLayout.addWidget(self.labelName)
        self.lineEditNameDb = QtGui.QLineEdit(self.widget)
        self.lineEditNameDb.setObjectName("lineEditNameDb")
        self.horizontalLayout.addWidget(self.lineEditNameDb)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.labelChooseFolder = QtGui.QLabel(self.widget)
        self.labelChooseFolder.setObjectName("labelChooseFolder")
        self.horizontalLayout_2.addWidget(self.labelChooseFolder)
        self.btnChooseFolder = QtGui.QPushButton(self.widget)
        self.btnChooseFolder.setObjectName("btnChooseFolder")
        self.horizontalLayout_2.addWidget(self.btnChooseFolder)
        self.verticalLayout.addLayout(self.horizontalLayout_2)

        self.retranslateUi(newDataBaseDialog)

    def retranslateUi(self, newDataBaseDialog):
        newDataBaseDialog.setWindowTitle(QtGui.QApplication.translate("newDataBaseDialog", "Новая база данных", None, QtGui.QApplication.UnicodeUTF8))
        self.lblInfo.setText(QtGui.QApplication.translate("newDataBaseDialog", "", None, QtGui.QApplication.UnicodeUTF8))
        self.labelName.setText(QtGui.QApplication.translate("newDataBaseDialog", "Имя новой БД", None, QtGui.QApplication.UnicodeUTF8))
        self.labelChooseFolder.setText(QtGui.QApplication.translate("newDataBaseDialog", "Выберите директорию", None, QtGui.QApplication.UnicodeUTF8))
        self.btnChooseFolder.setText(QtGui.QApplication.translate("newDataBaseDialog", "Выбрать", None, QtGui.QApplication.UnicodeUTF8))

